﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: './user/Login',
          },
        ],
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/',
    redirect:'/dashboard',
  },
  {
    path:'/dashboard',
    name:'dashboard',
    icon:"PieChartOutlined",
    component:"@/pages/DashBoard"
  },
  {
    path:'/usermanager',
    name:'usermanager',
    icon:"UserOutlined",
    component:"@/pages/UserManager"
  },
  {
    path:'/goods',
    name:'goods',
    icon:"ShoppingOutlined",
    component:"@/pages/Goods"
  },
  {
    component: './404',
  },
];
